package com.zb.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @Author WEN
 * @Date 2023/8/31 0031
 **/
@Data
@ApiModel("编码列表对象")
public class CodeListVo {
    @ApiModelProperty(value = "编码ID")
    private Long id;

    @ApiModelProperty(value = "类型表")
    private Integer tableType;

    @ApiModelProperty(value = "编码批次ID")
    private Long batchId;

    @ApiModelProperty(value = "编码批号名称")
    private String batchName;

    @ApiModelProperty(value = "编码批号")
    private String batchCode;

    @ApiModelProperty(value = "编码类型：1-成品、2-备件")
    private Integer type;

    @ApiModelProperty(value = "商品ID")
    private Long goodsId;

    @ApiModelProperty(value = "商品品牌")
    private String brand;

    @ApiModelProperty(value = "商品名称")
    private String goodsName;

    @ApiModelProperty(value = "商品型号")
    private String goodsModel;

    @ApiModelProperty(value = "商品分类")
    private String goodsType;

    @ApiModelProperty(value = "商品规格ID")
    private Long goodsSpecId;

    @ApiModelProperty(value = "商品规格名称")
    private String goodsSpecName;

    @ApiModelProperty(value = "防伪编码")
    private String securityCode;

    @ApiModelProperty(value = "仓储编码")
    private String storeCode;

    @ApiModelProperty(value = "编码状态：1-未质保，2-质保中、3-已过保，4-已作废")
    private Integer status;

    @ApiModelProperty(value = "编码出入库状态：1-未出入库，2-预入库，3-已入库，4-预出库，5-已出库1")
    private Integer storeStatus;

    @ApiModelProperty(value = "是否激活：false-否，true-是")
    private Boolean activa;

    @ApiModelProperty(value = "激活时间")
    private Date activaTime;

    @ApiModelProperty(value = "质保周期/天数")
    private Integer warrantyDay;

    @ApiModelProperty(value = "编码来源：1-系统创建，2-系统导入，3-工单报单创建，4-第三方系统编码")
    private Integer codeSource;

    @ApiModelProperty(value = "网点名称")
    private String network;

    @ApiModelProperty(value = "编码禁用状态：false-启用，true-禁用")
    private Boolean codeDisableStatus;

    @ApiModelProperty(value = "更新人员")
    private String updateEmp;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

    @ApiModelProperty(value = "客户姓名")
    private String username;

    @ApiModelProperty(value = "客户手机号")
    private String phone;

    public void setDisabled(Boolean disabled) {
        this.codeDisableStatus = disabled;
    }

    public void setGmtCreate(Date gmtCreate) {
        this.createTime = gmtCreate;
    }

    public void setGmtUpdate(Date gmtUpdate) {
        this.updateTime = gmtUpdate;
    }
}
